// sample // TODO

Mobile2Socket conn; 
MobileClient mobileClient;

void setup() { 
  size(200, 200);
  conn = new Mobile2Socket(this);
} 
 
void draw() { 
  
  mobileClient = conn.update();
  
  if (mobileClient != null) {
    println(mobileClient.command);
    println(mobileClient.action);
    println(mobileClient.name);
  }
}
